package com.ltu.domain;

import com.alibaba.excel.annotation.ExcelProperty;

//import javax.persistence.GeneratedValue;
//import javax.persistence.GenerationType;
//import javax.persistence.Id;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.ltu.base.GenericEntity;
import com.ltu.domain.mp_entity.Role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

public class BaseEntity extends  GenericEntity{
//    @Id
//    @GeneratedValue(strategy = GenerationType.IDENTITY)
	 @ExcelProperty(value ="序号",index = 0)
	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
    protected String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
		
	}
	
	
}
